package com.zyh.scs.admin.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author hwh
 * @ClassName: 扣款操作$
 * @Description: $
 * @Date $
 * @Version 1.0
 */
@Data
@Schema(description = "扣款操作")
@Accessors(chain = true)
public class DeductionDTO implements Serializable {

    @Schema(description = "guid")
    @NotNull(message = "guid不能为空")
    private String guid;

    @Schema(description = "扣款账户 1为餐补账户  2为现金账户")
    @NotNull(message = "扣款账户不能为空")
    private Integer deductionType;

    @Schema(description = "扣款金额")
    @NotNull(message = "扣款金额不能为空")
    private BigDecimal deductionMoney;

    @Schema(description = "备注")
    private String notes;
}
